package com.example.rk.service;

import com.example.rk.common.MyPageInfo;
import com.example.rk.entity.Changest;
import com.example.rk.entity.Company;
import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CompanyService {

    void deleteById(int id);

    String doAdd(Company company);

    Company findById(int id);

    MyPageInfo findBySearch(HttpServletRequest request);

    String doEdit(Company company);

    List<Company> findonly(int id);

    MyPageInfo findBySearch1(HttpServletRequest request, int id);

    void setImageUrl(String name, int id);

    String creattupian(Changest changest);
}
